//server.js
var http = require('http');
var router = require("./router");
function start(){
	var server = http.createServer(function(req,res){
		router.route(req,res);
	});
	server.listen(8888);
	console.log("Your server is started @8888");
}
exports.start = start;